package pageModel;

import java.util.HashSet;
import java.util.Map;
import java.util.Set;

import model.Trolepermission;

public class Permission {
	private String id;
	private String pid;
	private String text;
	private  String ptext;
	private String sort;
	private String type;
	private String url;
	private String permcode;
	private String state;
	private String description;
	private Map<String,Object> attributes;
	private Set<Trolepermission> trolepermissions = new HashSet<Trolepermission>(0);
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getPtext() {
		return ptext;
	}
	public void setPtext(String ptext) {
		this.ptext = ptext;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getPermcode() {
		return permcode;
	}
	public void setPermcode(String permcode) {
		this.permcode = permcode;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Set<Trolepermission> getTrolepermissions() {
		return trolepermissions;
	}
	public void setTrolepermissions(Set<Trolepermission> trolepermissions) {
		this.trolepermissions = trolepermissions;
	}
	public Map<String, Object> getAttributes() {
		return attributes;
	}
	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}
	
}
